<div id="fullBg" class="fullBg none"></div>
<div id="loanNotice_dialog" class="dialog none dialogSubmit">
	<div class="dialogTitle">放款单</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent financeContract dialogContent-loanNotice" action="createLoanNotice" version="v1.0">
		<div>
			<p>
				<input type="hidden" name="financeId" />
				<span for="" class="field-lab2 financing_field-lab2">融资信息编号：
			<input class="field-input noInput" minLength="1" maxLength="255" type="text" name="financeNumber" disabled="disabled"/>
			</span>
				<span for="" class="field-lab2 financing_field-lab2">放款方式：
			<input type="radio" style="width: auto;" name="loanMethod" value="1" />现金<input  style="width: auto;" type="radio" name="loanMethod" value="2" />支票<input  style="width: auto;" type="radio" name="loanMethod" value="3" />转账
			</span>
			</p>
			<p>
				<span for="" class="field-lab2 financing_field-lab2" style="margin-left: 44px;">放款时间：
			<input class="field-input Wdate FromTime" minLength="1" maxLength="255" type="text" name="loanDate"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true})"/>
			</span>
				<span for="" class="field-lab2 financing_field-lab2">放款金额：
			<input class="field-input" type="text" name="loanAmount" />
			</span>
			</p>
			<p>
				<span for="" class="field-lab2 financing_field-lab2" style="margin-left: 54px;">操作人员 ：
					<input class="field-input"   minLength="1" maxLength="255" type="text" name="operator" /></span>
					<span for="" class="field-lab2 financing_field-lab2">
					</span>
			</p>
			<p style="margin-top: 30px; ">
			<div class="line5"></div>
			<div class="loan_type">货箱信息</div>
			<div class="line6"></div>
		</p>
		<table class="loan_table" cellspacing="0px" cellpadding="0px">
			<tr class="loan_tr">
				<th class="th1" width="10%">箱号(箱型尺寸)</th>
				<th class="th2" width="10%">理货时间</th>
				<th width="10%">运单号</th>
				<th class="th4" width="40%">货物</th>
				<th width="10%">货物估值</th>
				<th width="15%">货箱应放金额</th>
				<th class="th4" width="5%">状态</th>
			</tr>
			<tbody id="bulkstockLoanNoticeListBody"></tbody>
			<script type="text/template" id="bulkstockLoanNoticeTpl">
				{@each datas as it}
				<tr class="tr_style table-data {@if it.loanNoticeId===0}{@else}trBackgroundColor{@/if}" inventoryId="${it.inventoryId}">
					<td class="">
						<!--{@if it.loanNoticeId===0}
						<input type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" /> 
						{@else}
						<input style="visibility: hidden;" type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" /> 
						{@/if} -->
						${it.caseNumber}(${it.caseSize})
					</td>
					<td class="">${it.createDateTime}</td>
					<td>${it.waybillNumber}</td>
					<td>
						{@each it.containerBulkstocks as that} 
						${that.bulkstockName}(${that.specification})<br />
						 ${that.quantity}(${that.unit})-- ${that.weight}(吨)--${that.bulkstockValuation}(m
						<sup>3</sup>)
						<br> {@/each}

					</td>
					<td>
						{@each it.containerBulkstocks as that} ${that.bulkstockValuation}(元)
						<br> {@/each}
					</td>
					<td>
						{@each it.containerBulkstocks as that}
						<span class="evaluateValuation">${that.evaluateValuation}</span>(元)
						<br> {@/each} 共
						<span class="evaluateValuations"></span>（元）
					</td>
					<td class="">{@if it.tallyingState==0} 待理货 {@else if it.tallyingState==1} 已理货 {@/if}
					</td>
				</tr>
				{@/each}
			</script>
		</table>
			
		</div>
	</div>
	<div class="footerBtn">
				<div id="sure_yes_loanNotice" class="dialogBtn dialogHandlerBtn">确定</div>
			</div>
</div>